<template>
	<view>
		<web-view src="https://mgp.xiaojusmart.com/upload/Index" @message="handleMessage"></web-view>
	</view>
</template>

<script>
	var webView

	export default {
		data() {
			return {

			}
		},
		methods: {
			handleMessage(evt) {
				console.log('接收到的消息', (evt.detail.data[0]));
				console.log(evt.detail.data[0].imgPath);
				this.$eventBus.$emit('pushImg', evt.detail.data[0])

			}
		},
		onLoad() {

		}
	}
</script>

<style>
</style>